package com.ruoyi.bi.domain.portal;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.bi.domain.common.BaseEntity;
import com.ruoyi.bi.util.RSBIUtils;
import lombok.Data;

import java.util.Date;

@Data
public class Portal extends BaseEntity {

	private String pageId;
	private Integer userId;
	private String userName;
	private String pageInfo;
	private String pageName;
	private String is3g;
	private Integer cataId;
	private String cataName;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date crtDate;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date updateDate;


	@Override
	public void validate() {
		this.pageName = RSBIUtils.htmlEscape(this.pageName);
		this.pageId = RSBIUtils.htmlEscape(this.pageId);
	}
}
